package com.nice.demo;

import android.os.Bundle;
import android.widget.ListView;

import androidx.appcompat.app.AppCompatActivity;

public class ListActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_list);
       ListView listView = (ListView) findViewById(R.id.content_list);
        listView.setAdapter(new MyAdapter(this));
    }

}
